﻿<%@ Page Language="C#" MasterPageFile="~/SalesOneWeb.Master" AutoEventWireup="true" CodeBehind="ManageProducts.aspx.cs" Inherits="IronOne.SalesOne.SalesOneWeb.ProductLibrary.ManageProducts1" %>

<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">

    <script language="javascript" type="text/javascript">

        window.onload = function() {

            var msg = document.getElementById('ctl00_MasterMsg');
            if (msg && msg.innerHTML != '')
                showMessageBlock();
        }
        </script>


    <link href="../StyleSheets/salesOne_txtstyle.css" rel="stylesheet" type="text/css" />
    
     
   
    
     
     
    <style type="text/css">
        .style4
        {
            width: 186px;
        }
    </style>
    
     
   
    
     
     
</asp:Content>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">    
    
        <table class="detailstable">
            <tr>
                <td>
                    <table>
                        <tr>
                            <td colspan="2">
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td>
                    Plan Category:</td>
                            <td>
                    <asp:Label ID="lblPlanCategory" runat="server" CssClass="lbl"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td>
                    Plan Code:</td>
                            <td>
                    <asp:TextBox ID="txtPlanCode" runat="server" CssClass="txtbox"></asp:TextBox>
                    <asp:Label ID="lblPlanCode" runat="server" CssClass="lbl"></asp:Label>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ControlToValidate="txtPlanCode">*</asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td>
                    Plan Name*:</td>
                            <td>
                    <asp:TextBox ID="txtPlanName" runat="server" CssClass="txtbox"></asp:TextBox>
                    <asp:Label ID="lblPlanName" runat="server" CssClass="lbl" ></asp:Label>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                        ControlToValidate="txtPlanName">*</asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td valign="top" >
                    Minimum &amp; Maximum Limit*:</td>
                            <td>
                    <table>
                        <tr>
                            <td colspan="3">
                                <table cellpadding="0" cellspacing="0">
                                    
                                </table>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Age:</td>
                            <td id="lable" runat="server" rowspan="3">
                                <table cellspacing="1">
                                 <%--style="margin-left: 0px; width: 135%;"--%>
                                    <tr>
                                        <td>
                                <asp:Label ID="lblAgeMin" runat="server" CssClass="lbl"></asp:Label>
                                        </td>
                                        <td>
                                -</td>
                                        <td>
                                <asp:Label ID="lblAgeMax" runat="server" CssClass="lbl"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                <asp:Label ID="lblTermMin" runat="server" CssClass="lbl"></asp:Label>
                                        </td>
                                        <td>
                                -</td>
                                        <td >
                                <asp:Label ID="lblTermMax" runat="server" CssClass="lbl"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                <asp:Label ID="lblPremiumMin" runat="server" CssClass="lbl"></asp:Label>
                                        </td>
                                        <td>
                                -</td>
                                        <td>
                                <asp:Label ID="lblPremiumMax" runat="server" CssClass="lbl"></asp:Label>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                            <td id="textBox" runat="server" rowspan="3" class="style4">
                                <table cellspacing="1" >
                                    <tr>
                                        <td>
                                <asp:TextBox ID="txtAgeFrom" runat="server" CssClass="txtbox2"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" 
                                    ControlToValidate="txtAgeFrom" Display="Dynamic">*</asp:RequiredFieldValidator>
                                <asp:RegularExpressionValidator ID="RegularExpressionValidator8" runat="server" 
                                    ControlToValidate="txtAgeFrom" 
                                    ValidationExpression="^\d*$" Display="Dynamic">*</asp:RegularExpressionValidator>
                                <asp:CompareValidator ID="CompareValidator4" runat="server" 
                                    ControlToCompare="txtAgeTo" ControlToValidate="txtAgeFrom" Operator="LessThan" 
                                    Type="Integer" Display="Dynamic">*</asp:CompareValidator>
                                        </td>
                                        <td>
                                -</td>
                                        <td>
                                <asp:TextBox ID="txtAgeTo" runat="server" CssClass="txtbox2" Width="93px"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" 
                                    ControlToValidate="txtAgeTo" Display="Dynamic">*</asp:RequiredFieldValidator>
                                <asp:RegularExpressionValidator ID="RegularExpressionValidator4" runat="server" 
                                    ControlToValidate="txtAgeTo" 
                                    ValidationExpression="^\d*$" Display="Dynamic">*</asp:RegularExpressionValidator>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                <asp:TextBox ID="txtTermFrom" runat="server" CssClass="txtbox2"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
                                    ControlToValidate="txtTermFrom" Display="Dynamic">*</asp:RequiredFieldValidator>
                                <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
                                    ControlToValidate="txtTermFrom" 
                                    ValidationExpression="^\d*$" Display="Dynamic">*</asp:RegularExpressionValidator>
                                <asp:CompareValidator ID="CompareValidator2" runat="server" 
                                    ControlToCompare="txtTermTo" ControlToValidate="txtTermFrom" Operator="LessThan" 
                                    Type="Integer" Display="Dynamic">*</asp:CompareValidator>
                                        </td>
                                        <td>
                                -</td>
                                        <td>
                                <asp:TextBox ID="txtTermTo" runat="server" CssClass="txtbox2" Width="93px"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" 
                                    ControlToValidate="txtTermTo" Display="Dynamic">*</asp:RequiredFieldValidator>
                                <asp:RegularExpressionValidator ID="RegularExpressionValidator5" runat="server" 
                                    ControlToValidate="txtTermTo" 
                                    ValidationExpression="^\d*$" Display="Dynamic">*</asp:RegularExpressionValidator>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                <asp:TextBox ID="txtPremiumFrom" runat="server" CssClass="txtbox2"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                                    ControlToValidate="txtPremiumFrom" Display="Dynamic">*</asp:RequiredFieldValidator>
                                <asp:CompareValidator ID="CompareValidator3" runat="server" 
                                    ControlToCompare="txtPremiumTo" ControlToValidate="txtPremiumFrom" Operator="LessThan" 
                                    Type="Currency" Display="Dynamic">*</asp:CompareValidator>
                                <asp:RegularExpressionValidator ID="RegularExpressionValidator6" runat="server" 
                                    ControlToValidate="txtPremiumFrom" ValidationExpression="\d*\.?\d+" 
                                    Display="Dynamic">*</asp:RegularExpressionValidator>
                                        </td>
                                        <td>
                                -</td>
                                        <td>
                                <asp:TextBox ID="txtPremiumTo" runat="server" CssClass="txtbox2" Width="93px"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" 
                                    ControlToValidate="txtPremiumTo" Display="Dynamic">*</asp:RequiredFieldValidator>
                                <asp:RegularExpressionValidator ID="RegularExpressionValidator7" runat="server" 
                                    ControlToValidate="txtPremiumTo" ValidationExpression="\d*\.?\d+" 
                                    Display="Dynamic">*</asp:RegularExpressionValidator>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Term:</td>
                        </tr>
                        <tr>
                            <td>
                                Premium:</td>
                        </tr>
                        </table>
                            </td>
                        </tr>
                        <tr>
                            <td valign="top">
                    Payment Mode*:</td>
                            <td>
                                <table>
                                    <tr>
                                        <td>
                                <asp:CheckBox ID="chMonthly" runat="server" Text="Monthly" CssClass="chbox" />
                                        </td>
                                        <td>
                                <asp:Label ID="lblPaymentModeMsg" runat="server" CssClass="lbl"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                <asp:CheckBox ID="chQuarterly" runat="server" Text="Quarterly" 
                                    CssClass="chbox" />
                                        </td>
                                        <td>
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td>
                                <asp:CheckBox ID="chYearly6" runat="server" Text="Yearly (6 months)" 
                                    CssClass="chbox" />
                                        </td>
                                        <td>
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td>
                                <asp:CheckBox ID="chYearly12" runat="server" Text="Yearly (12months)" 
                                    CssClass="chbox" />
                                        </td>
                                        <td>
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td>
                                <asp:CheckBox ID="chSingle" runat="server" Text="Single" CssClass="chbox" />
                                        </td>
                                        <td>
                                            &nbsp;</td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr>
                            <td>
                    Plan Quotation Report:</td>
                            <td>
                    <asp:RadioButton ID="rdoYes" runat="server" Text="Yes" 
                        GroupName="PlanQuatationReport" CssClass="rdbtn"/>
                    <asp:RadioButton ID="rdoNo" runat="server" Text="No" 
                        GroupName="PlanQuatationReport" CssClass="rdbtn"/>
                            </td>
                        </tr>
                        <tr>
                            <td valign="top">
                    Description:</td>
                            <td>
                                <asp:TextBox ID="txtDescriptionArea" runat="server" Height="86px" TextMode="MultiLine" 
                                    Width="325px" CssClass="txtbox"></asp:TextBox>
                                <table cellpadding="0" cellspacing="0" class="style1" style="width: 83%">
                                    <tr>
                                        <td>
                                <asp:TextBox ID="txtDescription" runat="server" 
                                    Width="157px" CssClass="txtbox"></asp:TextBox>
                                        </td>
                                        <td>
                                <asp:Button ID="btnBrowse" runat="server" Text="Browse..." CssClass="btn" 
                                    onclick="btnBrowse_Click" Height="23px" Width="76px" />
                                        </td>
                                        <td>
                                <asp:Button ID="btnUploadFile" runat="server" Text="Upload File" 
                                    CssClass="btn" onclick="btnUploadFile_Click" Height="23px" Width="76px" />
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr>
                            <td>
                    Status:</td>
                            <td>
                    <asp:RadioButton ID="rdoActive" runat="server" Text="ACTIVE" 
                        GroupName="Status" CssClass="rdbtn"/>
                    <asp:RadioButton ID="rdoInactive" runat="server" Text="INACTIVE" 
                        GroupName="Status" CssClass="rdbtn"/>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                                &nbsp;</td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td >
                    <table cellpadding="0" cellspacing="0">
                        <tr>
                             <%--<td runat="server" id="btnUp">
                    <asp:Button ID="btnUpdate" runat="server" Text="Update" 
                        onclick="btnUpdate_Click" style="height: 23px" CssClass="btn" 
                        onclientclick="validationSummery();" Height="23px" Width="76px"/>
                            </td>
                            <td>
                    <asp:Button ID="btnCancel" runat="server" Text="Cancel" 
                        onclick="btnCancel_Click" CssClass="btn" Width="76px"  />
                            </td>--%>
                            
                             <td id="btnUp" runat="server" width="81" >
                    <asp:Button ID="btnUpdate" runat="server" Text="Update" 
                        onclick="btnUpdate_Click" style="height: 23px" CssClass="btn" 
                        onclientclick="validationSummery();" Height="23px" Width="76px"/>
                            </td>
                            <td>
                    <asp:Button ID="btnCancel" runat="server" Text="Cancel" 
                        onclick="btnCancel_Click" CssClass="btn" Width="76px" CausesValidation="False"  />
                            </td>
                            
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td >
                    &nbsp;</td>
            </tr>
            </table>
    
   </asp:Content>